<template>
  <div class="container">
    <div class="descriptions1">
      <a-descriptions title="01 基本信息" bordered>
        <a-descriptions-item label="患者姓名" :span="1.5">{{
          patientArchive.basicInfo.patientsName
        }}</a-descriptions-item>
        <a-descriptions-item label="性别" :span="1.5"> {{ patientArchive.basicInfo.patientsSex }} </a-descriptions-item>
        <a-descriptions-item label="出生日期" :span="1.5">
          {{ patientArchive.basicInfo.patientsBirthday }}
        </a-descriptions-item>
        <a-descriptions-item label="年龄" :span="1.5"> {{ patientArchive.basicInfo.patientAge }}</a-descriptions-item>
        <a-descriptions-item label="手机号码" :span="1.5">{{
          patientArchive.basicInfo.patientsMobile
        }}</a-descriptions-item>
        <a-descriptions-item label="劳动强度" :span="1.5">{{
          patientArchive.basicInfo.occupation
        }}</a-descriptions-item>
        <a-descriptions-item label="文化程度" :span="1.5">{{ patientArchive.basicInfo.education }}</a-descriptions-item>
        <a-descriptions-item label="所在地区" :span="1.5">{{
          patientArchive.basicInfo.patientsLocation
        }}</a-descriptions-item>
        <a-descriptions-item label="患者属性" :span="1.5">
          {{ patientArchive.basicInfo.patientProperty }}</a-descriptions-item
        >
        <a-descriptions-item label="医疗费别" :span="1.5">
          {{ patientArchive.basicInfo.payMode }}
        </a-descriptions-item>
        <a-descriptions-item label="家属" :span="1.5">{{ patientArchive.basicInfo.familyNumber }} </a-descriptions-item>
        <a-descriptions-item label="家属联系方式" :span="1.5">
          {{ patientArchive.basicInfo.familyNumberPhone }}
        </a-descriptions-item>
        <a-descriptions-item label="简要病史" :span="3"> {{ patientArchive.patientDescription }} </a-descriptions-item>
      </a-descriptions>
      <a-descriptions title="02 生活方式" bordered>
        <a-descriptions-item label="运动" :span="3"> {{ patientArchive.lifewayReport.sport }}</a-descriptions-item>
        <a-descriptions-item label="吸烟" :span="3">{{ patientArchive.lifewayReport.smoke }} </a-descriptions-item>
        <a-descriptions-item label="饮酒" :span="3">{{ patientArchive.lifewayReport.wine }} </a-descriptions-item>
        <a-descriptions-item label="睡眠" :span="3">{{ patientArchive.lifewayReport.sleep }} </a-descriptions-item>
      </a-descriptions>
      <a-descriptions title="03 糖尿病概况" bordered>
        <a-descriptions-item label="糖尿病诊断" :span="1.5">
          {{ patientArchive.overviewReport.ifDiabetesText }}
        </a-descriptions-item>
        <a-descriptions-item label="确诊日期" :span="1.5">
          {{ patientArchive.overviewReport.diabetesDiagnoseDate }}</a-descriptions-item
        >
        <a-descriptions-item label="糖尿病类型" :span="3">
          {{ patientArchive.overviewReport.diabetesTypeText }}
        </a-descriptions-item>
        <a-descriptions-item label="起病类型" :span="3">
          {{ patientArchive.overviewReport.diabetesOnsetSymptom }}</a-descriptions-item
        >
        <a-descriptions-item label="空腹血糖" :span="1.5"
          >{{ patientArchive.overviewReport.sugarBreakfastBefore }}
        </a-descriptions-item>
        <a-descriptions-item label="早餐后血糖" :span="1.5">
          {{ patientArchive.overviewReport.sugarBreakfastAfter }}</a-descriptions-item
        >
        <a-descriptions-item label="午餐前血糖" :span="1.5">
          {{ patientArchive.overviewReport.sugarLunchBefore }}
        </a-descriptions-item>
        <a-descriptions-item label="午餐后血糖" :span="1.5">{{
          patientArchive.overviewReport.sugarLunchAfter
        }}</a-descriptions-item>
        <a-descriptions-item label="晚餐前血糖" :span="1.5">
          {{ patientArchive.overviewReport.sugarSupperBefore }}</a-descriptions-item
        >
        <a-descriptions-item label="晚餐后血糖" :span="1.5">
          {{ patientArchive.overviewReport.sugarSupperAfter }}
        </a-descriptions-item>
        <a-descriptions-item label="睡前血糖" :span="1.5">{{
          patientArchive.overviewReport.sugarSleepBefore
        }}</a-descriptions-item>
        <a-descriptions-item label="凌晨血糖" :span="1.5">
          {{ patientArchive.overviewReport.sugarSleepAfter }}</a-descriptions-item
        >
        <a-descriptions-item label="糖化血红蛋白" :span="3">
          {{ patientArchive.overviewReport.hba1c }}
        </a-descriptions-item>
        <a-descriptions-item label="糖尿病家族史" :span="3">
          早发性心血管疾病家族史：{{ patientArchive.overviewReport.familyHistoryPrematureAngioText }} <br />

          2型糖尿病家族史：{{ patientArchive.overviewReport.familyHistoryDiabetes2Text }}
        </a-descriptions-item>
      </a-descriptions>
      <a-descriptions title="04 糖尿病教育" bordered>
        <a-descriptions-item label="接受教育情况" :span="3">
          {{ patientArchive.educationReport.isReceivedText }} <br />{{
            patientArchive.educationReport.receivedOther
          }}</a-descriptions-item
        >
        <a-descriptions-item label="希望学习的糖尿病知识" :span="3">
          {{ patientArchive.educationReport.hope }} <br />
          {{ patientArchive.educationReport.hopeOther }}</a-descriptions-item
        >
      </a-descriptions>
      <a-descriptions title="05 糖尿病并发症" bordered>
        <a-descriptions-item
          label="糖尿病肾病"
          :span="3"
          bordered
          v-if="patientArchive.complicationReport.nephropathyText !== null"
        >
          <p>确诊情况： {{ patientArchive.complicationReport.nephropathyText }}</p>
          <p>确诊日期： {{ patientArchive.complicationReport.nephropathyDate }}</p>
          <p v-html="patientArchive.complicationReport.nephropathyData"></p>
        </a-descriptions-item>
        <a-descriptions-item
          label="糖尿病视网膜病变"
          :span="3"
          bordered
          v-if="patientArchive.complicationReport.retinopathyText !== null"
        >
          <p>确诊情况：{{ patientArchive.complicationReport.retinopathyText }}</p>
          <p>确诊日期： {{ patientArchive.complicationReport.retinopathyDate }}</p>
          <p v-html="patientArchive.complicationReport.retinopathyData"></p>
        </a-descriptions-item>
        <a-descriptions-item
          label="糖尿病周围神经病变"
          :span="3"
          bordered
          v-if="patientArchive.complicationReport.peripheralText !== null"
        >
          <p>确诊情况：{{ patientArchive.complicationReport.peripheralText }}</p>
          <p>确诊日期： {{ patientArchive.complicationReport.peripheralDate }}</p>
          <p v-html="patientArchive.complicationReport.peripheralData"></p>
        </a-descriptions-item>
        <a-descriptions-item
          label="心血管自主神经病变"
          :span="3"
          bordered
          v-if="patientArchive.complicationReport.cardiovascularText !== null"
        >
          <p>确诊情况：{{ patientArchive.complicationReport.cardiovascularText }}</p>
          <p>确诊日期： {{ patientArchive.complicationReport.cardiovascularDate }}</p>
          <p v-html="patientArchive.complicationReport.cardiovascularData"></p>
        </a-descriptions-item>
        <a-descriptions-item
          label="消化系统自主神经病变"
          :span="3"
          bordered
          v-if="patientArchive.complicationReport.digestiveText !== null"
        >
          <p>确诊情况：{{ patientArchive.complicationReport.digestiveText }}</p>
          <p>确诊日期： {{ patientArchive.complicationReport.digestiveDate }}</p>
          <p v-html="patientArchive.complicationReport.digestiveData"></p>
        </a-descriptions-item>
        <a-descriptions-item
          label="泌尿生殖系统自主神经病变"
          :span="3"
          bordered
          v-if="patientArchive.complicationReport.genitourinaryText !== null"
        >
          <p>确诊情况：{{ patientArchive.complicationReport.genitourinaryText }}</p>
          <p>确诊日期： {{ patientArchive.complicationReport.genitourinaryDate }}</p>
          <p v-html="patientArchive.complicationReport.genitourinaryData"></p>
        </a-descriptions-item>
        <a-descriptions-item
          label="其他自主神经病变"
          :span="3"
          bordered
          v-if="patientArchive.complicationReport.otherneuropathyText !== null"
        >
          <p>确诊情况：{{ patientArchive.complicationReport.otherneuropathyText }}</p>

          <p>其他自主神经病变名称：{{ patientArchive.complicationReport.otherneuropathyName }}</p>
          <p>确诊日期： {{ patientArchive.complicationReport.otherneuropathyDate }}</p>
          <p>其他自主神经病变检查项目：{{ patientArchive.complicationReport.otherneuropathyItem }}</p>
        </a-descriptions-item>
        <a-descriptions-item
          label="糖尿病下肢血管病变"
          :span="3"
          bordered
          v-if="patientArchive.complicationReport.extremityText !== null"
        >
          <p>确诊情况：{{ patientArchive.complicationReport.extremityText }}</p>
          <p>确诊日期： {{ patientArchive.complicationReport.extremityDate }}</p>
          <p v-html="patientArchive.complicationReport.extremityData"></p>
        </a-descriptions-item>
        <a-descriptions-item
          label="糖尿病足"
          :span="3"
          bordered
          v-if="patientArchive.complicationReport.dfootText !== null"
        >
          <p>确诊情况：{{ patientArchive.complicationReport.dfootText }}</p>
          <p>确诊日期： {{ patientArchive.complicationReport.dfootDate }}</p>
          <p v-html="patientArchive.complicationReport.dfootData"></p>
        </a-descriptions-item>
        <a-descriptions-item
          label="酮症酸中毒"
          :span="3"
          bordered
          v-if="patientArchive.complicationReport.dkaText !== null"
        >
          <p>确诊情况：{{ patientArchive.complicationReport.dkaText }}</p>
          <p>确诊日期： {{ patientArchive.complicationReport.dkaDate }}</p>
          <p v-html="patientArchive.complicationReport.dkaData"></p>
        </a-descriptions-item>
        <a-descriptions-item
          label="糖尿病高渗综合症状况"
          :span="3"
          bordered
          v-if="patientArchive.complicationReport.hhsText !== null"
        >
          <p>确诊情况：{{ patientArchive.complicationReport.hhsText }}</p>
          <p>确诊日期： {{ patientArchive.complicationReport.hhsDate }}</p>
          <p>随机血糖：{{ patientArchive.complicationReport.hhsRandomSugar }}</p>
          <p>电解质Na：{{ patientArchive.complicationReport.hhsNa }}</p>
          <p>电解质K：{{ patientArchive.complicationReport.hhsK }}</p>
          <p>血浆渗透压：{{ patientArchive.complicationReport.hhsOpp }}</p>
        </a-descriptions-item>
      </a-descriptions>
      <a-descriptions title="06 糖尿病合并症" bordered>
        <a-descriptions-item
          label="高血压病"
          :span="3"
          bordered
          v-if="patientArchive.comorbidityReport.hypertensionText !== null"
        >
          <p>确诊情况：{{ patientArchive.comorbidityReport.hypertensionText }}</p>
          <p>确诊日期： {{ patientArchive.comorbidityReport.hypertensionDate }}</p>
          <p v-html="patientArchive.comorbidityReport.hypertensionData"></p>
        </a-descriptions-item>
        <a-descriptions-item
          label="高甘油三酯血症"
          :span="3"
          bordered
          v-if="patientArchive.comorbidityReport.hyperlipidemiaText !== null"
        >
          <p>确诊情况：{{ patientArchive.comorbidityReport.hyperlipidemiaText }}</p>
          <p>确诊日期： {{ patientArchive.comorbidityReport.hypertriglyceridemiaDate }}</p>
          <p>
            {{ patientArchive.comorbidityReport.ifHypolipidemic1 }}
          </p>
        </a-descriptions-item>
        <a-descriptions-item
          label="高胆固醇血症"
          :span="3"
          bordered
          v-if="patientArchive.comorbidityReport.hyperlipidemiaText !== null"
        >
          <p>确诊情况：{{ patientArchive.comorbidityReport.hyperlipidemiaText }}</p>
          <p>确诊日期： {{ patientArchive.comorbidityReport.hypercholesterolemiaDate }}</p>

          <p>
            {{ patientArchive.comorbidityReport.ifHypolipidemic2 }}
          </p>
        </a-descriptions-item>
        <a-descriptions-item
          label="心血管疾病"
          :span="3"
          bordered
          v-if="patientArchive.comorbidityReport.angiocardiopathyText !== null"
        >
          <p>确诊情况：{{ patientArchive.comorbidityReport.angiocardiopathyText }}</p>
          <p>确诊日期： {{ patientArchive.comorbidityReport.angiocardiopathyDate }}</p>
          <span>检查情况：{{ patientArchive.comorbidityReport.angiocardiopathyExam }}</span>
        </a-descriptions-item>
        <a-descriptions-item
          label="脑血管疾病"
          :span="3"
          bordered
          v-if="patientArchive.comorbidityReport.cerebrovascularText !== null"
        >
          <p>确诊情况：{{ patientArchive.comorbidityReport.cerebrovascularText }}</p>
          <p>脑卒中类型： {{ patientArchive.comorbidityReport.strokeType }}</p>
          <p>脑卒中确诊日期： {{ patientArchive.comorbidityReport.strokeDate }}</p>
          <p>急性脑缺血确诊日期： {{ patientArchive.comorbidityReport.ischemiaDate }}</p>
          <p>短暂性脑缺血发作确诊日期： {{ patientArchive.comorbidityReport.transientIschemiaDate }}</p>
          <p>动脉粥样硬化性CCVD确诊日期： {{ patientArchive.comorbidityReport.ccvdDate }}</p>
          <p>其他脑血管疾病： {{ patientArchive.comorbidityReport.cerebrovascularOther }}</p>
          <p>脑血管疾病相关检查： {{ patientArchive.comorbidityReport.cerebrovascularCheck }}</p>
        </a-descriptions-item>

        <a-descriptions-item
          label="周围血管疾病"
          :span="3"
          bordered
          v-if="patientArchive.comorbidityReport.peripheralText !== null"
        >
          <p>确诊情况：{{ patientArchive.comorbidityReport.peripheralText }}</p>
          <p>外周动脉疾病确诊日期： {{ patientArchive.comorbidityReport.arteryDate }}</p>
          <p>动脉瘤确诊日期： {{ patientArchive.comorbidityReport.aneurysmDate }}</p>
          <p>动静脉瘘确诊日期： {{ patientArchive.comorbidityReport.fistulaDate }}</p>
          <p>外周静脉疾病确诊日期： {{ patientArchive.comorbidityReport.venousDate }}</p>
          <p>周围血管损伤确诊日期： {{ patientArchive.comorbidityReport.injuryDate }}</p>
          <p>周围血管疾病类型： {{ patientArchive.comorbidityReport.peripheralType }}</p>
        </a-descriptions-item>
      </a-descriptions>
      <a-descriptions title="07 既往病史" bordered v-if="patientArchive.anamnesisReport">
        <a-descriptions-item
          label="低血糖发生史"
          :span="3"
          v-if="patientArchive.anamnesisReport.hypoglycemiaIsExistText !== null"
        >
          <p>确诊情况： {{ patientArchive.anamnesisReport.hypoglycemiaIsExistText }}</p>
          <p>频率： {{ patientArchive.anamnesisReport.hypoglycemiaFrequency }}</p>
          <p>原因： {{ patientArchive.anamnesisReport.hypoglycemiaCause }}</p>
          <p>症状： {{ patientArchive.anamnesisReport.hypoglycemiaSymptom }}</p>
        </a-descriptions-item>
        <a-descriptions-item
          label="糖尿病酮症酸中毒发生史"
          :span="3"
          v-if="patientArchive.anamnesisReport.ketoacidosisText !== null"
        >
          <p>确诊情况： {{ patientArchive.anamnesisReport.ketoacidosisText }}</p>

          <p>原因： {{ patientArchive.anamnesisReport.ketoacidosisCause }}</p>
          <p>程度： {{ patientArchive.anamnesisReport.ketoacidosisDegreeText }}</p>
          <p>发生频率： {{ patientArchive.anamnesisReport.ketoacidosisFrequency }}</p>
          <p>尿胴体检查： {{ patientArchive.anamnesisReport.ketoacidosisUrineKetoneText }}</p>
          <p>血胴体检查： {{ patientArchive.anamnesisReport.ketoacidosisBloodKetone }}</p>
        </a-descriptions-item>
        <a-descriptions-item
          label="糖尿病高渗综合征发生史"
          :span="3"
          v-if="patientArchive.anamnesisReport.dnhsText !== null"
        >
          <p>确诊情况： {{ patientArchive.anamnesisReport.dnhsText }}</p>
          <p>频率： {{ patientArchive.anamnesisReport.dnhsFrequency }}</p>
        </a-descriptions-item>
        <a-descriptions-item
          label="糖尿病乳酸酸中毒发生史"
          :span="3"
          v-if="patientArchive.anamnesisReport.lacticAcidosisText !== null"
        >
          <p>确诊情况： {{ patientArchive.anamnesisReport.lacticAcidosisText }}</p>
          <p>频率： {{ patientArchive.anamnesisReport.lacticAcidosisFrequency }}</p>
        </a-descriptions-item>
        <a-descriptions-item
          label="其他原因导致肾脏疾病"
          :span="3"
          v-if="patientArchive.anamnesisReport.kidneyText !== null"
        >
          <p>确诊情况： {{ patientArchive.anamnesisReport.kidneyText }}</p>

          <p>所患肾脏疾病： {{ patientArchive.anamnesisReport.kidneyDisease }}</p>
          <p>所患肾脏疾病确诊日期： {{ patientArchive.anamnesisReport.kidneyDiseaseDate }}</p>
          <p>所患肾脏疾病相关检查： {{ patientArchive.anamnesisReport.kidneyData }}</p>
        </a-descriptions-item>
        <a-descriptions-item
          label="其他病史"
          :span="3"
          v-if="patientArchive.anamnesisReport.otherDiseaseOther !== null"
        >
          <p>
            {{ patientArchive.anamnesisReport.otherDiseaseOther }}
          </p>
        </a-descriptions-item>
      </a-descriptions>
      <a-descriptions title="08 体格检查" bordered v-if="patientArchive.physicalReport">
        <a-descriptions-item label="基础检查" :span="3" v-if="patientArchive.physicalReport.basicCheck">
          <p>
            <span v-if="patientArchive.physicalReport.basicCheck.heartRate != null"
              >心率： {{ patientArchive.physicalReport.basicCheck.heartRate }}</span
            ><span v-if="patientArchive.physicalReport.basicCheck.sphygmus != null"
              >脉搏： {{ patientArchive.physicalReport.basicCheck.sphygmus }}</span
            ><span v-if="patientArchive.physicalReport.basicCheck.breath != null"
              >呼吸： {{ patientArchive.physicalReport.basicCheck.breath }}</span
            >
          </p>
          <p>
            <span v-if="patientArchive.physicalReport.basicCheck.temperature != null"
              >体温： {{ patientArchive.physicalReport.basicCheck.temperature }}</span
            ><span v-if="patientArchive.physicalReport.basicCheck.weight != null"
              >体重： {{ patientArchive.physicalReport.basicCheck.weight }}</span
            ><span v-if="patientArchive.physicalReport.basicCheck.height != null"
              >身高： {{ patientArchive.physicalReport.basicCheck.height }}</span
            >
          </p>
          <p>
            <span v-if="patientArchive.physicalReport.basicCheck.bmi != null"
              >BMI： {{ patientArchive.physicalReport.basicCheck.bmi }}</span
            ><span v-if="patientArchive.physicalReport.basicCheck.waist != null"
              >腰围： {{ patientArchive.physicalReport.basicCheck.waist }}</span
            ><span v-if="patientArchive.physicalReport.basicCheck.hip != null"
              >臀围： {{ patientArchive.physicalReport.basicCheck.hip }}</span
            >
          </p>
          <p>
            <span v-if="patientArchive.physicalReport.basicCheck.whratio != null"
              >腰臀比： {{ patientArchive.physicalReport.basicCheck.whratio }}</span
            ><span v-if="patientArchive.physicalReport.basicCheck.bloodSystolicPress != null"
              >血压收缩压： {{ patientArchive.physicalReport.basicCheck.bloodSystolicPress }}</span
            ><span v-if="patientArchive.physicalReport.basicCheck.bloodDiastolicPress != null"
              >血压舒张压： {{ patientArchive.physicalReport.basicCheck.bloodDiastolicPress }}</span
            >
          </p>
          <p>
            <span v-if="patientArchive.physicalReport.basicCheck.vision != null"
              >左眼视力： {{ patientArchive.physicalReport.basicCheck.vision }}</span
            ><span v-if="patientArchive.physicalReport.basicCheck.visionRight"
              >右眼视力： {{ patientArchive.physicalReport.basicCheck.visionRight }}</span
            >
          </p>
        </a-descriptions-item>
        <a-descriptions-item label="皮肤检查" :span="3" v-if="patientArchive.physicalReport.skinCheck">
          <p>
            <span v-if="patientArchive.physicalReport.skinCheck.skinExam != null"
              >皮肤检查： {{ patientArchive.physicalReport.skinCheck.skinExam }}</span
            ><span v-if="patientArchive.physicalReport.skinCheck.skinSymptom != null"
              >皮肤症状： {{ patientArchive.physicalReport.skinCheck.skinSymptom }}</span
            >
          </p>
          <p>
            <span v-if="patientArchive.physicalReport.skinCheck.insulinInjection != null"
              >胰岛素注射部位： {{ patientArchive.physicalReport.skinCheck.insulinInjection }}</span
            ><span v-if="patientArchive.physicalReport.skinCheck.insulinInjectionSymptom != null"
              >胰岛素注射部位症状： {{ patientArchive.physicalReport.skinCheck.insulinInjectionSymptom }}</span
            >
          </p>
        </a-descriptions-item>
        <a-descriptions-item label="眼底检查" :span="3" v-if="patientArchive.physicalReport.eyeCheck">
          <p>
            <span v-if="patientArchive.physicalReport.eyeCheck.eyeMicroaneurysm != null"
              >微动脉瘤： {{ patientArchive.physicalReport.eyeCheck.eyeMicroaneurysm }}</span
            >
            <span v-if="patientArchive.physicalReport.eyeCheck.eyeIntraretinalHemorrhage != null"
              >视网膜内出血： {{ patientArchive.physicalReport.eyeCheck.eyeIntraretinalHemorrhage }}</span
            >
            <span v-if="patientArchive.physicalReport.eyeCheck.eyeCottonWoolSpots"
              >棉絮斑： {{ patientArchive.physicalReport.eyeCheck.eyeCottonWoolSpots }}</span
            >
          </p>
          <p>
            <span v-if="patientArchive.physicalReport.eyeCheck.eyeFundusBleeding"
              >眼底出血： {{ patientArchive.physicalReport.eyeCheck.eyeFundusBleeding }}</span
            >
            <span v-if="patientArchive.physicalReport.eyeCheck.eyeHardExudation"
              >硬性渗出： {{ patientArchive.physicalReport.eyeCheck.eyeHardExudation }}</span
            >
            <span v-if="patientArchive.physicalReport.eyeCheck.eyeVenousBeadedChanges"
              >静脉串珠样改变： {{ patientArchive.physicalReport.eyeCheck.eyeVenousBeadedChanges }}</span
            >
          </p>
          <p>
            <span v-if="patientArchive.physicalReport.eyeCheck.eyeMicrovascularAbnormalitiesInRetina"
              >视网膜内微血管异常：
              {{ patientArchive.physicalReport.eyeCheck.eyeMicrovascularAbnormalitiesInRetina }}</span
            >
            <span v-if="patientArchive.physicalReport.eyeCheck.eyeThickeningPosteriorRetina"
              >后极部视网膜增厚： {{ patientArchive.physicalReport.eyeCheck.eyeThickeningPosteriorRetina }}</span
            >
            <span v-if="patientArchive.physicalReport.eyeCheck.eyeVitreousHemorrhage"
              >玻璃体积血： {{ patientArchive.physicalReport.eyeCheck.eyeVitreousHemorrhage }}</span
            >
          </p>
          <p>
            <span v-if="patientArchive.physicalReport.eyeCheck.eyeNeovascularization"
              >新生血管形成： {{ patientArchive.physicalReport.eyeCheck.eyeNeovascularization }}</span
            >
            <span v-if="patientArchive.physicalReport.eyeCheck.eyePreretinalHemorrhage"
              >视网膜前出血： {{ patientArchive.physicalReport.eyeCheck.eyePreretinalHemorrhage }}</span
            >
          </p>
        </a-descriptions-item>
        <a-descriptions-item label="糖足检查" :span="3" v-if="patientArchive.physicalReport.footCheck">
          <p>
            <span v-if="patientArchive.physicalReport.footCheck.footSugarFootInspection"
              >糖足检查： {{ patientArchive.physicalReport.footCheck.footSugarFootInspection }}</span
            ><span v-if="patientArchive.physicalReport.footCheck.footPalpationOfDorsalisPedisArtery"
              >足背动脉触诊： {{ patientArchive.physicalReport.footCheck.footPalpationOfDorsalisPedisArtery }}</span
            ><span v-if="patientArchive.physicalReport.footCheck.footAnkleReflex"
              >踝反射： {{ patientArchive.physicalReport.footCheck.footAnkleReflex }}</span
            >
          </p>
          <p>
            <span v-if="patientArchive.physicalReport.footCheck.footNerveConduction"
              >神经传导： {{ patientArchive.physicalReport.footCheck.footNerveConduction }}</span
            ><span v-if="patientArchive.physicalReport.footCheck.footVibrationSense"
              >振动觉： {{ patientArchive.physicalReport.footCheck.footVibrationSense }}</span
            ><span v-if="patientArchive.physicalReport.footCheck.footAcupuncturePain"
              >针刺痛觉： {{ patientArchive.physicalReport.footCheck.footAcupuncturePain }}</span
            >
          </p>
          <p>
            <span v-if="patientArchive.physicalReport.footCheck.footTemperatureSense"
              >温度觉： {{ patientArchive.physicalReport.footCheck.footTemperatureSense }}</span
            ><span v-if="patientArchive.physicalReport.footCheck.footPressureSense"
              >压力觉： {{ patientArchive.physicalReport.footCheck.footPressureSense }}</span
            >
          </p>
        </a-descriptions-item>
        <a-descriptions-item label="其他" :span="3" v-if="patientArchive.physicalReport.other">
          <p>
            <span v-if="patientArchive.physicalReport.other.claudicationTest"
              >间歇性跛行试验： {{ patientArchive.physicalReport.other.claudicationTest }}</span
            ><span v-if="patientArchive.physicalReport.other.carotidAuscultation"
              >颈动脉听诊： {{ patientArchive.physicalReport.other.carotidAuscultation }}</span
            ><span v-if="patientArchive.physicalReport.other.femoralAuscultation"
              >股动脉听诊： {{ patientArchive.physicalReport.other.femoralAuscultation }}</span
            >
          </p>
          <p>
            <span v-if="patientArchive.physicalReport.other.legsSkinTemp"
              >下肢皮肤温度测定： {{ patientArchive.physicalReport.other.legsSkinTemp }}</span
            ><span v-if="patientArchive.physicalReport.other.abi"
              >ABI： {{ patientArchive.physicalReport.other.abi }}</span
            ><span v-if="patientArchive.physicalReport.other.abiExerciseTest"
              >ABI运动负荷试验： {{ patientArchive.physicalReport.other.abiExerciseTest }}</span
            >
          </p>
          <p>
            <span v-if="patientArchive.physicalReport.other.tbi"
              >TBI： {{ patientArchive.physicalReport.other.tbi }}</span
            ><span v-if="patientArchive.physicalReport.other.tcPO2"
              >经皮氧分压： {{ patientArchive.physicalReport.other.tcPO2 }}</span
            >
          </p>
        </a-descriptions-item>
      </a-descriptions>
      <a-descriptions title="09 实验室检测" bordered>
        <a-descriptions-item
          label="血糖检查"
          :span="3"
          bordered
          v-if="patientArchive.laboratoryReport.sugarCheckDate !== null"
        >
          <div style="float:left;width:45%;margin-right:50px;border:1px solid gray;padding:30px">
            <h1>逆转前</h1>

            <p>检查日期： {{ patientArchive.laboratoryReport.sugarCheckDate }}</p>
            <p>空腹血糖： {{ patientArchive.laboratoryReport.sugarFasting }}</p>
            <p>随机血糖： {{ patientArchive.laboratoryReport.sugarRandom }}</p>
            <p>餐后2h血糖： {{ patientArchive.laboratoryReport.sugarAfter2 }}</p>
            <p>HbA1c： {{ patientArchive.laboratoryReport.hba1c }}</p>
          </div>
          <div style="float:left;width:45%;border:1px solid gray;padding:30px">
            <h1>逆转后</h1>

            <p>检查日期： {{ patientArchive1.laboratoryReport.sugarCheckDate }}</p>
            <p>空腹血糖： {{ patientArchive1.laboratoryReport.sugarFasting }}</p>
            <p>随机血糖： {{ patientArchive1.laboratoryReport.sugarRandom }}</p>
            <p>餐后2h血糖： {{ patientArchive1.laboratoryReport.sugarAfter2 }}</p>
            <p>HbA1c： {{ patientArchive1.laboratoryReport.hba1c }}</p>
          </div>
        </a-descriptions-item>
        <a-descriptions-item
          label="OGTT试验+胰岛功能"
          :span="3"
          bordered
          v-if="patientArchive.laboratoryReport.ogttCheckDate !== null"
        >
          <div style="float:left;width:45%;margin-right:50px;border:1px solid gray;padding:30px">
            <h1>逆转前</h1>
            <p>检查日期： {{ patientArchive.laboratoryReport.ogttCheckDate }}</p>
            <p>血糖空腹服糖前： {{ patientArchive.laboratoryReport.sugarLimosis }}</p>
            <p>血糖30min： {{ patientArchive.laboratoryReport.sugar30min }}</p>
            <p>血糖1h： {{ patientArchive.laboratoryReport.sugar1h }}</p>
            <p>血糖2h： {{ patientArchive.laboratoryReport.sugar2h }}</p>
            <p>血糖3h： {{ patientArchive.laboratoryReport.sugar3h }}</p>
            <p>胰岛素空腹： {{ patientArchive.laboratoryReport.isletLimosis }}</p>
            <p>胰岛素30min： {{ patientArchive.laboratoryReport.islet30min }}</p>
            <p>胰岛素1h： {{ patientArchive.laboratoryReport.islet1h }}</p>
            <p>胰岛素2h： {{ patientArchive.laboratoryReport.islet2h }}</p>
            <p>胰岛素3h： {{ patientArchive.laboratoryReport.islet3h }}</p>
            <p>C肽空腹： {{ patientArchive.laboratoryReport.peptideLimosis }}</p>
            <p>C肽30min： {{ patientArchive.laboratoryReport.peptide30min }}</p>
            <p>C肽1h： {{ patientArchive.laboratoryReport.peptide1h }}</p>
            <p>C肽2h： {{ patientArchive.laboratoryReport.peptide2h }}</p>
            <p>C肽3h： {{ patientArchive.laboratoryReport.peptide3h }}</p>
          </div>
          <div style="float:left;width:45%;border:1px solid gray;padding:30px">
            <h1>逆转后</h1>
            <p>检查日期： {{ patientArchive1.laboratoryReport.ogttCheckDate }}</p>
            <p>血糖空腹服糖前： {{ patientArchive1.laboratoryReport.sugarLimosis }}</p>
            <p>血糖30min： {{ patientArchive1.laboratoryReport.sugar30min }}</p>
            <p>血糖1h： {{ patientArchive1.laboratoryReport.sugar1h }}</p>
            <p>血糖2h： {{ patientArchive1.laboratoryReport.sugar2h }}</p>
            <p>血糖3h： {{ patientArchive1.laboratoryReport.sugar3h }}</p>
            <p>胰岛素空腹： {{ patientArchive1.laboratoryReport.isletLimosis }}</p>
            <p>胰岛素30min： {{ patientArchive1.laboratoryReport.islet30min }}</p>
            <p>胰岛素1h： {{ patientArchive1.laboratoryReport.islet1h }}</p>
            <p>胰岛素2h： {{ patientArchive1.laboratoryReport.islet2h }}</p>
            <p>胰岛素3h： {{ patientArchive1.laboratoryReport.islet3h }}</p>
            <p>C肽空腹： {{ patientArchive1.laboratoryReport.peptideLimosis }}</p>
            <p>C肽30min： {{ patientArchive1.laboratoryReport.peptide30min }}</p>
            <p>C肽1h： {{ patientArchive1.laboratoryReport.peptide1h }}</p>
            <p>C肽2h： {{ patientArchive1.laboratoryReport.peptide2h }}</p>
            <p>C肽3h： {{ patientArchive1.laboratoryReport.peptide3h }}</p>
          </div>
        </a-descriptions-item>
        <a-descriptions-item
          label="血脂检查"
          :span="3"
          bordered
          v-if="patientArchive.laboratoryReport.sugarCheckDate !== null"
        >
          <div style="float:left;width:45%;margin-right:50px;border:1px solid gray;padding:30px">
            <h1>逆转前</h1>
            <p>检查日期： {{ patientArchive.laboratoryReport.bloodFatCheckDate }}</p>
            <p>总胆固醇TC： {{ patientArchive.laboratoryReport.tc }}</p>
            <p>甘油三酯TG： {{ patientArchive.laboratoryReport.tg }}</p>
            <p>低密度脂蛋白LDL_C： {{ patientArchive.laboratoryReport.ldlc }}</p>
            <p>高密度脂蛋白HDL_C： {{ patientArchive.laboratoryReport.hdlc }}</p>
            <p>非高密度脂蛋白nonHDL_C： {{ patientArchive.laboratoryReport.nonHdlc }}</p>
          </div>
          <div style="float:left;width:45%;border:1px solid gray;padding:30px">
            <h1>逆转后</h1>
            <p>检查日期： {{ patientArchive1.laboratoryReport.bloodFatCheckDate }}</p>
            <p>总胆固醇TC： {{ patientArchive1.laboratoryReport.tc }}</p>
            <p>甘油三酯TG： {{ patientArchive1.laboratoryReport.tg }}</p>
            <p>低密度脂蛋白LDL_C： {{ patientArchive1.laboratoryReport.ldlc }}</p>
            <p>高密度脂蛋白HDL_C： {{ patientArchive1.laboratoryReport.hdlc }}</p>
            <p>非高密度脂蛋白nonHDL_C： {{ patientArchive1.laboratoryReport.nonHdlc }}</p>
          </div>
        </a-descriptions-item>
        <a-descriptions-item
          label="肝功能检查"
          :span="3"
          bordered
          v-if="patientArchive.laboratoryReport.liverFunctionCheckDate !== null"
        >
          <div style="float:left;width:45%;margin-right:50px;border:1px solid gray;padding:30px">
            <h1>逆转前</h1>
            <p>检查日期： {{ patientArchive.laboratoryReport.liverFunctionCheckDate }}</p>
            <p>谷丙转氨酶ALT： {{ patientArchive.laboratoryReport.alt }}</p>
            <p>谷草转氨酶AST： {{ patientArchive.laboratoryReport.ast }}</p>
            <p>总胆红素T_BIL： {{ patientArchive.laboratoryReport.tbil }}</p>
            <p>碱性磷酸酶ALP： {{ patientArchive.laboratoryReport.alp }}</p>
          </div>
          <div style="float:left;width:45%;border:1px solid gray;padding:30px">
            <h1>逆转后</h1>
            <p>检查日期： {{ patientArchive1.laboratoryReport.liverFunctionCheckDate }}</p>
            <p>谷丙转氨酶ALT： {{ patientArchive1.laboratoryReport.alt }}</p>
            <p>谷草转氨酶AST： {{ patientArchive1.laboratoryReport.ast }}</p>
            <p>总胆红素T_BIL： {{ patientArchive1.laboratoryReport.tbil }}</p>
            <p>碱性磷酸酶ALP： {{ patientArchive1.laboratoryReport.alp }}</p>
          </div>
        </a-descriptions-item>
        <a-descriptions-item
          label="肾功能检查"
          :span="3"
          bordered
          v-if="patientArchive.laboratoryReport.ogttCheckDate !== null"
        >
          <div style="float:left;width:45%;margin-right:50px;border:1px solid gray;padding:30px">
            <h1>逆转前</h1>
            <p>检查日期： {{ patientArchive.laboratoryReport.ogttCheckDate }}</p>
            <p>尿常规_尿蛋白： {{ patientArchive.laboratoryReport.urineProtein }}</p>
            <p>尿白蛋白UAE： {{ patientArchive.laboratoryReport.uae }}</p>
            <p>24h尿白蛋白24hUAE： {{ patientArchive.laboratoryReport.uae24 }}</p>
            <p>尿白蛋白尿肌酐ACR： {{ patientArchive.laboratoryReport.acr }}</p>
            <p>血清肌酐Cr： {{ patientArchive.laboratoryReport.cr }}</p>
            <p>尿素氮： {{ patientArchive.laboratoryReport.ureaNitrogen }}</p>
            <p>肾小球滤过率GFR： {{ patientArchive.laboratoryReport.gfr }}</p>
            <p>内生肌酐清除率： {{ patientArchive.laboratoryReport.creatinineRate }}</p>
          </div>
          <div style="float:left;width:45%;border:1px solid gray;padding:30px">
            <h1>逆转后</h1>
            <p>检查日期： {{ patientArchive1.laboratoryReport.ogttCheckDate }}</p>
            <p>尿常规_尿蛋白： {{ patientArchive1.laboratoryReport.urineProtein }}</p>
            <p>尿白蛋白UAE： {{ patientArchive1.laboratoryReport.uae }}</p>
            <p>24h尿白蛋白24hUAE： {{ patientArchive1.laboratoryReport.uae24 }}</p>
            <p>尿白蛋白尿肌酐ACR： {{ patientArchive1.laboratoryReport.acr }}</p>
            <p>血清肌酐Cr： {{ patientArchive1.laboratoryReport.cr }}</p>
            <p>尿素氮： {{ patientArchive1.laboratoryReport.ureaNitrogen }}</p>
            <p>肾小球滤过率GFR： {{ patientArchive1.laboratoryReport.gfr }}</p>
            <p>内生肌酐清除率： {{ patientArchive1.laboratoryReport.creatinineRate }}</p>
          </div>
        </a-descriptions-item>
        <a-descriptions-item
          label="酮体检查"
          :span="3"
          bordered
          v-if="patientArchive.laboratoryReport.ketoneCheckDate !== null"
        >
          <div style="float:left;width:45%;margin-right:50px;border:1px solid gray;padding:30px">
            <h1>逆转前</h1>
            <p>检查日期： {{ patientArchive.laboratoryReport.ketoneCheckDate }}</p>
            <p>血酮体： {{ patientArchive.laboratoryReport.bloodKetone }}</p>
            <p>尿酮体： {{ patientArchive.laboratoryReport.urineKetone }}</p>
          </div>
          <div style="float:left;width:45%;border:1px solid gray;padding:30px">
            <h1>逆转后</h1>
            <p>检查日期： {{ patientArchive1.laboratoryReport.ketoneCheckDate }}</p>
            <p>血酮体： {{ patientArchive1.laboratoryReport.bloodKetone }}</p>
            <p>尿酮体： {{ patientArchive1.laboratoryReport.urineKetone }}</p>
          </div>
        </a-descriptions-item>
        <a-descriptions-item
          label="血气分析及其他"
          :span="3"
          bordered
          v-if="patientArchive.laboratoryReport.phCheckDate !== null"
        >
          <div style="float:left;width:45%;margin-right:50px;border:1px solid gray;padding:30px">
            <h1>逆转前</h1>
            <p>检查日期： {{ patientArchive.laboratoryReport.phCheckDate }}</p>
            <p>血气分析PH： {{ patientArchive.laboratoryReport.ph }}</p>
            <p>血气分析HCO3： {{ patientArchive.laboratoryReport.hco3 }}</p>
            <p>电解质Na+： {{ patientArchive.laboratoryReport.na }}</p>
            <p>电解质K+： {{ patientArchive.laboratoryReport.kei }}</p>
            <p>血浆渗透压： {{ patientArchive.laboratoryReport.opp }}</p>
            <p>溃疡组织培养药敏试验： {{ patientArchive.laboratoryReport.ulcerativeDrugSensitivity }}</p>
          </div>
          <div style="float:left;width:45%;border:1px solid gray;padding:30px">
            <h1>逆转后</h1>
            <p>检查日期： {{ patientArchive1.laboratoryReport.phCheckDate }}</p>
            <p>血气分析PH： {{ patientArchive1.laboratoryReport.ph }}</p>
            <p>血气分析HCO3： {{ patientArchive1.laboratoryReport.hco3 }}</p>
            <p>电解质Na+： {{ patientArchive1.laboratoryReport.na }}</p>
            <p>电解质K+： {{ patientArchive1.laboratoryReport.kei }}</p>
            <p>血浆渗透压： {{ patientArchive1.laboratoryReport.opp }}</p>
            <p>溃疡组织培养药敏试验： {{ patientArchive1.laboratoryReport.ulcerativeDrugSensitivity }}</p>
          </div>
        </a-descriptions-item>
      </a-descriptions>
      <a-descriptions title="10 影像学检查" bordered>
        <a-descriptions-item
          label="下肢血管CTA"
          style="position:relative"
          :span="3"
          v-if="patientArchive.iconographyReport.extremityVesselCta !== null"
        >
          逆转前： {{ patientArchive.iconographyReport.extremityVesselCta }}
          <span style="position:absolute;left:800px">
            逆转后： {{ patientArchive1.iconographyReport.extremityVesselCta }}</span
          >
        </a-descriptions-item>
        <!-- <a-descriptions-item label="下肢血管CTA其他" :span="3">                     {{patientArchive.iconographyReport.extremityVesselCtaOther}}
 </a-descriptions-item> -->

        <a-descriptions-item
          label="下肢血管DSA"
          style="position:relative"
          :span="3"
          v-if="patientArchive.iconographyReport.extremityVesselDsa !== null"
        >
          逆转前： {{ patientArchive.iconographyReport.extremityVesselDsa }}
          <span style="position:absolute;left:800px">
            逆转后： {{ patientArchive1.iconographyReport.extremityVesselDsa }}</span
          >
        </a-descriptions-item>

        <a-descriptions-item
          label="下肢血管MRI"
          style="position:relative"
          :span="3"
          v-if="patientArchive.iconographyReport.extremityVesselMri !== null"
        >
          逆转前： {{ patientArchive.iconographyReport.extremityVesselMri }}
          <span style="position:absolute;left:800px">
            逆转后： {{ patientArchive1.iconographyReport.extremityVesselMri }}</span
          >
        </a-descriptions-item>

        <a-descriptions-item
          label="下肢血管B超"
          style="position:relative"
          :span="3"
          v-if="patientArchive.iconographyReport.extremityVesselBi !== null"
        >
          逆转前： {{ patientArchive.iconographyReport.extremityVesselBi }}
          <span style="position:absolute;left:800px">
            逆转后： {{ patientArchive1.iconographyReport.extremityVesselBi }}</span
          >
        </a-descriptions-item>

        <a-descriptions-item
          label="足X射线"
          style="position:relative"
          :span="3"
          v-if="patientArchive.iconographyReport.footXray !== null"
        >
          逆转前： {{ patientArchive.iconographyReport.footXray }}
          <span style="position:absolute;left:800px"> 逆转后： {{ patientArchive1.iconographyReport.footXray }}</span>
        </a-descriptions-item>

        <a-descriptions-item
          label="其他信息"
          style="position:relative"
          :span="3"
          v-if="patientArchive.iconographyReport.other !== null"
        >
          逆转前： {{ patientArchive.iconographyReport.other }}
          <span style="position:absolute;left:800px"> 逆转后： {{ patientArchive1.iconographyReport.other }}</span>
        </a-descriptions-item>
      </a-descriptions>
    </div>
  </div>
</template>

<script>
import { PAGE_MENU_TYPE } from '@/store/mutation-types'
import { getAction, postAction } from '@/api/manage'
export default {
  name: 'BasicInfo',
  props: ['first'],
  data() {
    return {
      url: {
        getFirstReport: 'patient/report/first',
        getFinalReport: 'patient/report/summary'
      },
      patientArchive: [],
      patientArchive1: []
    }
  },
  methods: {
    getFirstReport() {
      let patientId = this.$route.query[PAGE_MENU_TYPE.PatientId]
      let params = {
        patientId: patientId
      }
      getAction(this.url.getFirstReport, params).then(res => {
        if (res.success) {
          this.patientArchive = res.result.patientArchive
        }
      })
    },
    getFinalReport() {
      let patientId = this.$route.query[PAGE_MENU_TYPE.PatientId]
      let params = {
        patientId: patientId
      }
      getAction(this.url.getFinalReport, params).then(res => {
        if (res.success) {
          this.patientArchive1 = res.result.summary.patientArchive
        }
      })
    },
    onSave() {
      this.$emit('parentOnSave')
    },
    confirm() {
      this.$emit('parentconfirm')
    }
  },
  created() {
    this.getFirstReport()
    this.getFinalReport()
  }
}
</script>

<style scoped>
.container {
  position: relative;
  padding: 1rem;
}

/deep/.ant-descriptions-title {
  margin-top: 20px;
  text-align: center;
}

.container span {
  margin-right: 30px;
}

/deep/.descriptions1 .ant-descriptions-item-colon {
  width: 225px;
  text-align: center;
}
/* .descriptions1 .descriptions2 .ant-descriptions-item-colon {
  width: 300px;
  text-align: center;
} */
/* .descriptions .ant-descriptions-item-content {
  text-align: center;
} */
</style>
